package com.aaa.behind.service.impl;

import com.aaa.behind.dao.EEmpInfoMapper;
import com.aaa.behind.service.IEEmpInfoService;
import com.aaa.entity.EEmpInfo;
import com.aaa.util.PageInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 管理员信息表 服务实现类
 * </p>
 *
 * @author whj
 * @since 2023-01-13
 */
@Service
public class EEmpInfoServiceImpl extends ServiceImpl<EEmpInfoMapper, EEmpInfo> implements IEEmpInfoService {

    @Autowired
    private EEmpInfoMapper eEmpInfoMapper;

    @Override
    public EEmpInfo selectName(String telephone1) {
        return eEmpInfoMapper.seleceName(telephone1);
    }

    @Override
    public IPage into(PageInfo pageInfo, EEmpInfo eEmpInfo) {
        return eEmpInfoMapper.init(pageInfo,eEmpInfo);
    }
}
